<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@page isELIgnored="false" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String userid = "";
if (request.getAttribute("userid") != null) {
	userid = request.getAttribute("userid").toString();
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>档案表</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link id="bootstrap-style" href="<c:url value="/css/bootstrap.min.css"/>" rel="stylesheet">
	<link href="<c:url value="/css/bootstrap-responsive.min.css"/>" rel="stylesheet">
	<link id="base-style" href="<c:url value="/css/style.css"/>" rel="stylesheet">
	<link id="base-style-responsive" href="<c:url value="/css/style-responsive.css"/>" rel="stylesheet">
	<link href="<c:url value="/css/index.css"/>" rel="stylesheet">
	<link rel="shortcut icon" href="<c:url value="/img/favicon.ico"/>">
	<link href="<c:url value="/css/page.css"/>" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/jquery.datetimepicker.css"/>"/>
	<link href="<c:url value="/css/navuser.css"/>" rel="stylesheet">
	<link href="<c:url value="/css/but.css"/>" rel="stylesheet">
	<script src="<c:url value="/js/jquery-1.9.1.min.js"/>"></script>
	<script src="<c:url value="/js/jquery-migrate-1.0.0.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/js/layer/layer.js"/>"></script>
	<script src="<c:url value="/js/laydate/laydate.js"/>"></script>
	<script src="<c:url value="/js/build/jquery.datetimepicker.full.js"/>"></script>
	<script src="<c:url value="/js/orgin.js"/>"></script>
	<script src="<c:url value="/js/filebut.js"/>"></script>
</head>
 <script type="text/javascript">
//获取当前时间，格式YYYY-MM-DD
 function getNowFormatDate() {
     var date = new Date();
     var seperator1 = "-";
     var year = date.getFullYear();
     var month = date.getMonth() + 1;
     var strDate = date.getDate();
     if (month >= 1 && month <= 9) {
         month = "0" + month;
     }
     if (strDate >= 0 && strDate <= 9) {
         strDate = "0" + strDate;
     }
     var currentdate = year + seperator1 + month + seperator1 + strDate;
     return currentdate;
 }
 function reback(){
     var url='<%=basePath%>user/index';
     parent.$("#mainFrame").attr("src",url);
 }
 function save(){
     var formData = new FormData($("#userform")[0]);
     if($("#name").val() == null || $("#name").val() == ""){
    	 alert("请输入姓名");
    	 return;
     }
     if($("#mobile").val() == null || $("#mobile").val() == ""){
    	 alert("请输入手机号");
    	 return;
     }
     //if($("#idcard").val() == null || $("#idcard").val() == ""){
    //	 alert("身份证号不能为空");
    //	 return;
     //}
     if($("#endtime").val()<$("#starttime").val()){
    	 alert("工作经历结束时间小于开始时间");
    	 return;
     }
     if($("#mobile").val() == $("#rmobile").val()){
    	 alert("手机号与紧急联系人电话不能相同");
    	 return;
     }
     $.ajax({  
          url: '<%=basePath%>user/save',
          type: 'POST',  
          data: formData,  
          async: false,  
          cache: false,
          contentType: false,  
          processData: false,  
          success: function (result) {
                if("ok"==result){
                    alert("添加员工成功");
                    var url='<%=basePath%>user/index';
                    parent.$("#mainFrame").attr("src",url);
                }else if("no"==result){
                    alert("添加员工失败");
                }else if("mobileExist"==result){
                	alert("手机号码已注册或上家公司未离职");
                }else if("nosche" == result){
                	alert("商户未排班");
                }else if("idcardExist" == result){
                	alert("身份证号码已注册或上家公司未离职");
                }
          }
     });

 }

 
 var eduInt = 0;//添加员工毕业信息栏
 //添加毕业信息栏
 function addEducation(){
	 if(eduInt > 2){
		 alert("最多填写4条");
		 return;
	 }
	 eduInt ++;
	 var html = "<div>"
		+"<div style='width:33%;float:left;'>"
		+"<span>毕业时间</span>"
		+"<input type='date' class='demo-input' name='graduationtime"+eduInt+"'>"
		+"</div>"
		+"<div style='width:33%;float:left;'>"
		+"<span>毕业院校</span>"
		+"<input type='text' name='universitie"+eduInt+"' placeholder='请输入' >"
		+"</div>"
		+"<div style='width:33%;float:left;'>"
		+"<span>毕业专业</span>"
		+"<input type='text' name='major"+eduInt+"' placeholder='请输入' >"
		+"</div>"
		+"</div>"
		+"<div>"
		+"<div style='width:23%;float:left;'>"
		+"<span>毕业证书编号</span>"
		+"<input type='text' name='educationNum"+eduInt+"' placeholder='请输入' >"
		+"</div>"
		+"	<div style='width:10%;float:left;'>"
		+"<div class='filebut'>"
		+"<a class='input-file input-fileup' id='buteducation"+eduInt+"' href='javascript:;'>"
		+"+ 上传照片<input size='100' type='file' name='educationfile"+eduInt+"' id='educationfile"+eduInt+"'>"
		+"</a>"
		+"</div>"
		+"</div>"
		+"<div style='width:53%;'>"
		+"<div><label></label></div>"	
		+"<div class='fileerrorTip_education"+eduInt+"'></div>"	
		+"<div class='showFileName_education"+eduInt+"' ></div>"
		+"</div>"
		+"</div>"
		+"<div>"
		+"<div style='width:23%;'>"
		+"<span>学位证书编号</span>"
		+"<input type='text' name='academicdegreeNum"+eduInt+"' placeholder='请输入' >"
		+"</div>"
		+"<div style='width:10%;float:left;margin-left: 327px;margin-top: -40px;'>"
		+"<div class='filebut'>"
		+"<a class='input-file input-fileup' id='butacademicdegree"+eduInt+"' href='javascript:;'>"
		+"+ 上传照片<input size='100' type='file' name='academicdegreefile"+eduInt+"' id='academicdegreefile"+eduInt+"'>"
		+"</a>"
		+"</div>"
		+"</div>"
		+"<div style='width:53%;'>"
		+"<div class='fileerrorTip_academicdegree"+eduInt+"'></div>"
		+"<div class='showFileName_academicdegree"+eduInt+"' style='margin-left: 467px;margin-top: -40px;float: left;'></div>"
		+"</div>"
		+"</div>";
	 	$("#JKDiv_2").append(html);
	 	$("#buteducation1").on("change","input[type='file']",function(){
	        var filePath=$(this).val();
	        $(".fileerrorTip_education1").html("").hide();
	        var arr=filePath.split('\\');
	        var fileName=arr[arr.length-1];
	        $(".showFileName_education1").html(fileName);
	    })
	    $("#butacademicdegree1").on("change","input[type='file']",function(){
	        var filePath=$(this).val();
	        $(".fileerrorTip_academicdegree1").html("").hide();
	        var arr=filePath.split('\\');
	        var fileName=arr[arr.length-1];
	        $(".showFileName_academicdegree1").html(fileName);
	    })
	    $("#buteducation2").on("change","input[type='file']",function(){
	        var filePath=$(this).val();
	        $(".fileerrorTip_education2").html("").hide();
	        var arr=filePath.split('\\');
	        var fileName=arr[arr.length-1];
	        $(".showFileName_education2").html(fileName);
	    })
	    $("#butacademicdegree2").on("change","input[type='file']",function(){
	        var filePath=$(this).val();
	        $(".fileerrorTip_academicdegree2").html("").hide();
	        var arr=filePath.split('\\');
	        var fileName=arr[arr.length-1];
	        $(".showFileName_academicdegree2").html(fileName);
	    })
	    $("#buteducation3").on("change","input[type='file']",function(){
	        var filePath=$(this).val();
	        $(".fileerrorTip_education3").html("").hide();
	        var arr=filePath.split('\\');
	        var fileName=arr[arr.length-1];
	        $(".showFileName_education3").html(fileName);
	    })
	    $("#butacademicdegree3").on("change","input[type='file']",function(){
	        var filePath=$(this).val();
	        $(".fileerrorTip_academicdegree3").html("").hide();
	        var arr=filePath.split('\\');
	        var fileName=arr[arr.length-1];
	        $(".showFileName_academicdegree3").html(fileName);
	    })
 }
 var workInt = 0;
 //添加工作经历栏
 function addWorkexperience(){
	 if(workInt > 4){
		 alert("最多填写6条");
		 return;
	 }
	 workInt ++;
	 var workhtml = '<div>'+
		'<div style="width:33%;float:left;">'+
		'<span>起止年月</span>'+
		'<input style="width:30%;" class="demo-input" id="starttime'+workInt+'" name="starttime'+workInt+'">-'+
		'<input style="width:30%;" class="demo-input" id="endtime'+workInt+'" name="endtime'+workInt+'">'+
			'</div>'+
			'<div style="width:33%;float:left;">'+
				'<span>所在单位</span>'+
				'<input type="text" name="unitname'+workInt+'" placeholder="请输入" >'+
			'</div>'+
			'<div style="width:33%;float:left;">'+
				'<span>部门/职务</span>'+
				'<input type="text" name="wpositions'+workInt+'" placeholder="请输入" >'+
			'</div>'+
		'</div>'+
		'<div>'+
			'<div style="width:33%;float:left;">'+
				'<span>薪资</span>'+
				'<input type="text" name="salary'+workInt+'" placeholder="请输入" >'+
			'</div>'+
			'<div style="width:33%;float:left;">'+
				'<span>证明人</span>'+
				'<input type="text" name="witness'+workInt+'" placeholder="请输入" >'+
			'</div>'+
			'<div style="width:33%;float:left;">'+
				'<span>联系电话(必填)</span>'+
				'<input type="text" name="wmobile'+workInt+'" placeholder="请输入" >'+
			'</div>'+
		'</div>';
		
		 $("#JKDiv_3").append(workhtml);
}
		 
 function xiugai(id) {
     layer.open({
	   title: '修改人员档案',
       type: 2,
       area: ['800px', '560px'],
       fixed: true, //不固定
       maxmin: true,
       content: '<%=basePath%>user/update?id='+id
     });
 }
 function xinzeng() {
     layer.open({
		title: '新增员工',
       type: 2,
       area: ['800px', '660px'],
       fixed: false, //不固定
       maxmin: true,
       content: '<%=basePath%>user/addUsermain'
     });
 }
 $(function(){
	 laydate.render({
		  elem: '#graduationtime'
		  ,type: 'date'
		  ,format: 'yyyy-MM-dd'
		});
	 laydate.render({
		  elem: '#datebirth'
		  ,type: 'date'
		  ,format: 'yyyy-MM-dd'
		});
	 laydate.render({
		  elem: '#endtime'
		  ,type: 'month'
		  ,format: 'yyyy-MM-dd'
		});
	 laydate.render({
		  elem: '#starttime'
		  ,type: 'month'
		  ,format: 'yyyy-MM-dd'
		});
	 laydate.render({
		  elem: '#entrytime'
		  ,type: 'date'
		  ,format: 'yyyy-MM-dd'
		});
	 $("#entrytime").val(getNowFormatDate());
 });
 function ChangeDiv(divId,divName,zDivCount,aid) { 
		for(i=0;i<=zDivCount;i++) 	{ 
			document.getElementById(divName+i).style.display="none"; 
			document.getElementById("JKDiv_a_"+i).style.color="#666"; 
			//将所有的层都隐藏 
		} 
		document.getElementById(divName+divId).style.display="block"; 
		document.getElementById(aid).style.color="#09a29d"; 
		//显示当前层 
}
 
 </script>
<body>
	
			<input type="hidden" id="totalPage" name="totalPage" value="${totalPage}"> 
			<input type="hidden" id="currentPage" name="currentPage" value="${currentPage}"> 
			
			<input type="hidden" id="dept" name="dept" value="${dept}"> 
			<div id="content" class="span10" style="width: 82%;background-color:#F9F9F9;">
				
				<div style="background-color:#FFF;height: 981px">
				<div style="margin-top:-10px;margin-top:-10px;margin-bottom:20px;margin-left:20px;margin-right:20px;padding-top:20px;">
					<span style="color:#37c2c2">添加员工</span><button style="float:right;" class="but butreturn" type="button" id="select" onclick="reback();">返回</button>
				</div>
				<form name="userform" id="userform" method="post" enctype="multipart/form-data">
                <div style="margin-left:20px;">
								<input type="hidden" id="jobnumber" name="jobnumber" value="${jobnumber}"> 
                  	  员工工号：<input type="text" id="jobnumber1" name="jobnumber1" value="${jobnumber }" disabled="disabled">

				</div>
				<div id="nav">
					<ul style="width: 100%;">
						<li><a id="JKDiv_a_0" onclick="JavaScript:ChangeDiv('0','JKDiv_',5,'JKDiv_a_0')" style="cursor:hand;color: #09a29d;">员工基本信息</a> </li>
						<li><a id="JKDiv_a_1" onclick="JavaScript:ChangeDiv('1','JKDiv_',5,'JKDiv_a_1')" style="cursor:hand;">资料上传</a> </li>
						<li><a id="JKDiv_a_2" onclick="JavaScript:ChangeDiv('2','JKDiv_',5,'JKDiv_a_2')" style="cursor:hand;">员工学历信息</a> </li>
						<li><a id="JKDiv_a_3" onclick="JavaScript:ChangeDiv('3','JKDiv_',5,'JKDiv_a_3')" style="cursor:hand;">员工工作经历</a> </li>
						<li><a id="JKDiv_a_4" onclick="JavaScript:ChangeDiv('4','JKDiv_',5,'JKDiv_a_4')" style="cursor:hand;">员工紧急联系人信息</a></li>
						<li><a id="JKDiv_a_5" onclick="JavaScript:ChangeDiv('5','JKDiv_',5,'JKDiv_a_5')" style="cursor:hand;">员工私密信息</a> </li>
					</ul>
					<div style="clear:both"></div>
				</div>
				
					<div id="JKDiv_0" style="font-size:14px;margin:30px;">
						<div>
							<div style="width:33%;float:left;">
								<span>姓名：</span>
								<input type="text" id="name" name="name" value="" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>性别：</span>
								<input type="radio" id="sex" name="sex" value="1" checked="checked"/><span>男</span><input type="radio" id="sex" name="sex" value="2"/><span>女</span>
							</div>
							<div style="width:33%;float:left;">
								<span>出生日期：</span>
								<input class="demo-input" id="datebirth" name="datebirth">
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>籍贯：</span>
								<input type="text" id="origin" name="origin" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>民族：</span>
								<select name="nation" id="nation">
								</select>
							</div>
							<div style="width:33%;float:left;">
								<span>手机：</span>
								<input type="text" id="mobile" name="mobile" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>政治面貌：</span>
								<select id="politicalstatus" name="politicalstatus">
									<option>中共党员</option>
									<option>共青团员</option>
									<option>群众</option>
									<option>其他</option>
								</select>
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>语言：</span>
								<input type="checkbox" value="1" name="language">普通话 
								<input type="checkbox" value="2" name="language">英语  
								<input type="checkbox" value="3" name="language">粤语 
								<input type="checkbox" value="4" name="language">其他 
							</div>
							<div style="width:33%;float:left;">
								<span>特长：</span>
								<input type="text" id="speciality" name="speciality" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>最高学历：</span>
								<select id="highesteducation" name="highesteducation">
								</select>
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>专业：</span>
								<input type="text" id="professional" name="professional" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>身份证号码：</span>
								<input type="text" id="idcard" name="idcard" placeholder="请输入" >
								
							</div>
							<div style="width:33%;float:left;">
								<span>婚姻情况：</span>
								<select id="maritalstatus" name="maritalstatus">
									<option value="">请选择</option>
									<option value="1">已婚</option>
									<option value="2">未婚</option>
								</select>
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>身高：</span>
								<input type="text" id="height" name="height" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>体重：</span>
								<input type="text" id="weight" name="weight" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>视力：</span>
								<input type="text" id="vision" name="vision" placeholder="请输入" >
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>QQ号码：</span>
								<input type="text" id="qq" name="qq" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>E-email地址：</span>
								<input type="text" id="mail" name="mail" placeholder="请输入" >
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>微信号：</span>
								<input type="text" id="weixinid" name="weixinid" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>户口所在地：</span>
								<input type="text" id="birthplace" name="birthplace" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>现居住地址：</span>
								<input type="text" id="address" name="address" placeholder="请输入" >
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>推荐人：</span>
								<input type="text" id="referee" name="referee" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>能否接受外派：</span>
								<input type="radio" id="ifsend" name="ifsend" value="1"/><span>能</span><input type="radio" id="ifsend" name="ifsend" value="2" checked="checked"/><span>否</span>
							</div>
							<div style="width:33%;float:left;">
								<span>外派地区：</span>
								<input type="text" id="sendaddress" name="sendaddress" placeholder="请输入" >
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>入职时间：</span>
								<input type="text" id="entrytime" name="entrytime" value="" placeholder="请输入" >
							</div>
						</div>
					</div>
					
				 
				<div id="JKDiv_1" style="display:none;font-size:14px;margin:30px;">
						<div>
							<div style="width:33%;float:left;">
								<span>资料上传：</span> 
								<!-- 
								 <select id="datatype" name="datatype">
									<option value="">请选择</option>
									<option value="1">员工登记表</option>
									<option value="2">入职简历</option>
									<option value="3">入职体检表</option>
									<option value="4">身份证</option>
									<option value="5">学历</option>
									<option value="6">合同</option>
									<option value="7">上家公司离职证明</option>
									<option value="8">离职证明审批</option>
									<option value="9">离职证明</option>
									<option value="10">面试记录</option>
									<option value="11">其他</option>
								</select>
								 -->
							</div>
							<div style="width:33%;margin-top:30px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata1" href="javascript:;">
							         + 上传员工登记表<input size="100" type="file" name="datafile1" id="datafile1">
									</a>
									<div class="fileerrorTip_data1"></div>	
									<div class="showFileName_data1"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:90px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata2" href="javascript:;">
							         + 上传入职简历<input size="100" type="file" name="datafile2" id="datafile2">
									</a>
									<div class="fileerrorTip_data2"></div>	
									<div class="showFileName_data2"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:150px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata3" href="javascript:;">
							         + 上传入职体检表<input size="100" type="file" name="datafile3" id="datafile3">
									</a>
									<div class="fileerrorTip_data3"></div>	
									<div class="showFileName_data3"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:210px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata4" href="javascript:;">
							         + 上传身份证<input size="100" type="file" name="datafile4" id="datafile4">
									</a>
									<div class="fileerrorTip_data4"></div>	
									<div class="showFileName_data4"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:270px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata5" href="javascript:;">
							         + 上传学历<input size="100" type="file" name="datafile5" id="datafile5">
									</a>
									<div class="fileerrorTip_data5"></div>	
									<div class="showFileName_data5"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:330px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata6" href="javascript:;">
							         + 上传合同<input size="100" type="file" name="datafile6" id="datafile6">
									</a>
									<div class="fileerrorTip_data6"></div>	
									<div class="showFileName_data6"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:390px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata7" href="javascript:;">
							         + 上传上家公司离职证明<input size="100" type="file" name="datafile7" id="datafile7">
									</a>
									<div class="fileerrorTip_data7"></div>	
									<div class="showFileName_data7"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:450px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata8" href="javascript:;">
							         + 上传离职证明审批<input size="100" type="file" name="datafile8" id="datafile8">
									</a>
									<div class="fileerrorTip_data8"></div>	
									<div class="showFileName_data8"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:510px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata9" href="javascript:;">
							         + 上传离职证明<input size="100" type="file" name="datafile9" id="datafile9">
									</a>
									<div class="fileerrorTip_data9"></div>	
									<div class="showFileName_data9"></div>
								</div>
							</div>
							<div style="width:33%;margin-top:570px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata10" href="javascript:;">
							         + 上传面试记录<input size="100" type="file" name="datafile10" id="datafile10">
									</a>
									<div class="fileerrorTip_data10"></div>	
									<div class="showFileName_data10"></div>
								</div>
							</div>
						<!-- 	<div style="width:33%;margin-top:630px;position: absolute;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata11" href="javascript:;">
							         + 上传银行卡<input size="100" type="file" name="datafile11" id="datafile11">
									</a>
									<div class="fileerrorTip_data11"></div>	
									<div class="showFileName_data11"></div>
								</div>
							</div> -->
							<div style="width:33%;margin-top:210px;position: absolute;margin-left: 168px;">
								<div class="filebut">
									<a class="input-file input-fileup" id="butdata12" href="javascript:;">
							         + 上传身份证反面<input size="100" type="file" name="datafile12" id="datafile12">
									</a>
									<div class="fileerrorTip_data12"></div>	
									<div class="showFileName_data12"></div>
								</div>
							</div>
						</div>
				</div> 
				<div id="JKDiv_2" style="display:none;font-size:14px;margin:30px;">
					<a onclick="JavaScript:addEducation()" style="margin-bottom: 26px;display:block;width:100px;height:24px;border:1px solid #CCC;background:#FFF;">添加毕业信息栏</a>
					<div>
						<div style="width:33%;float:left;">
							<span>毕业时间：</span>
							<input class="demo-input" id="graduationtime" name="graduationtime">
						</div>
						<div style="width:33%;float:left;">
							<span>毕业院校：</span>
							<input type="text" name="universitie" placeholder="请输入" >
						</div>
						<div style="width:33%;float:left;">
							<span>毕业专业：</span>
							<input type="text" name="major" placeholder="请输入" >
						</div>
					</div>
					<div>
						<div style="width:23%;float:left;">
							<span>毕业证书编号：</span>
							<input type="text" name="educationNum" placeholder="请输入" >
						</div>
						<div style="width:10%;float:left;">
							<div class="filebut">
								<a class="input-file input-fileup" id="buteducation" href="javascript:;">
						         + 上传照片<input size="100" type="file" name="educationfile" id="educationfile">
								</a>
							</div>
						</div>
						<div style="width:53%;">
							<div><label></label></div>	
							<div class="fileerrorTip_education"></div>	
							<div class="showFileName_education" ></div>
						</div>
					</div>
					<div>
						<div style="width:23%;">
							<span>学位证书编号：</span>
							<input type="text" name="academicdegreeNum" placeholder="请输入" >
						</div>
						<div style="width:10%;float:left;margin-left: 327px;margin-top: -40px;">
							<div class="filebut">
								<a class="input-file input-fileup" id="butacademicdegree" href="javascript:;">
						         + 上传照片<input size="100" type="file" name="academicdegreefile" id="academicdegreefile">
								</a>
							</div>
						</div>
						<div style="width:53%;">
							<div class="fileerrorTip_academicdegree"></div>	
							<div class="showFileName_academicdegree" style="margin-left: 467px;margin-top: -40px;float: left;"></div>
						</div>
					</div>
				</div> 
				<div id="JKDiv_3" style="display:none;font-size:14px;margin:30px;">
						 <!-- 
						  <a onclick="JavaScript:addWorkexperience()" style="margin-bottom: 26px;display:block;width:100px;height:24px;border:1px solid #CCC;background:#FFF;">添加工作经历栏</a>
						  -->
						<div>
							<div style="width:33%;float:left;">
								<span>起止年月：</span>
								<input style="width:30%;" class="demo-input" id="starttime" name="starttime">-
								<input style="width:30%;" class="demo-input" id="endtime" name="endtime">
							</div>
							<div style="width:33%;float:left;">
								<span>所在单位：</span>
								<input type="text" id="unitname" name="unitname" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>部门/职务：</span>
								<input type="text" id="wpositions" name="wpositions" placeholder="请输入" >
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>薪资：</span>
								<input type="text" id="salary" name="salary" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>证明人：</span>
								<input type="text" id="witness" name="witness" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>联系电话(必填)：</span>
								<input type="text" id="wmobile" name="wmobile" placeholder="请输入" >
							</div>
						</div>
				</div> 
				<div id="JKDiv_4" style="display:none;font-size:14px;margin:30px;">
						<div>
							<div style="width:33%;float:left;">
								<span>姓名：</span>
								<input type="text" id="rname" name="rname" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>与本人关系：</span>
								<input type="text" id="relationship" name="relationship" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>联系电话(必填)：</span>
								<input type="text" id="rmobile" name="rmobile" placeholder="请输入" >
							</div>
						</div>
						<div>
							<div style="width:33%;float:left;">
								<span>年龄：</span>
								<input type="text" id="age" name="age" placeholder="请输入" >
							</div>
							<div style="width:33%;float:left;">
								<span>工作单位/职务：</span>
								<input type="text" id="positions" name="positions" placeholder="请输入" >
							</div>
						</div>
				</div> 
				<div id="JKDiv_5" style="display:none;font-size:14px;margin:30px;">
					<div>
						<div style="width:33%;float:left;">
							<span>工资卡银行：</span>
							<input type="text" id="bankname" name="bankname" placeholder="请输入" >
						</div>
						<div style="width:33%;float:left;">
							<span>工资卡号：</span>
							<input type="text" id="bankcardno" name="bankcardno" placeholder="请输入" >
						</div>
						<div style="width:33%;float:left;">
							<div class="filebut">
								<a class="input-file input-fileup" id="butbank" href="javascript:;">
						         + 上传照片<input size="100" type="file" name="bankfile" id="bankfile">
								</a>
								<div class="fileerrorTip_bank"></div>	
								<div class="showFileName_bank"></div>
							</div>
						</div>
					</div>
					<div>
						<div style="width:40%;float:left;">
							<span>社保号：</span>
							<input type="text" id="securityno" name="securityno" placeholder="请输入" >
						</div>
						<div style="width:33%;float:left;margin-left:-74px;">
							<span>公积金：</span>
							<input type="text" id="accumulationno" name="accumulationno" placeholder="请输入" >
						</div>
					</div>
				</div>
			</form>
			<div class="row-fluid content-table">
					<table class="table  bootstrap-datatable" style=" border:none; border-spacing:0; border-collapse:collapse;margin:0;padding:0;margin-top: 688px;">
					  <tbody>
						<tr class="content-search" style="text-align: center;">
							<td colspan="6">
								<div>
									<button style="background-color: #dadada;color: #666;" type="button" onclick="reback();" id="output1">取消</button>
									<button class="but" id="saveUser" onclick="save();">保存</button>
								</div>
							</td>
						</tr>
					  </tbody>
				  </table>            
				</div>
			</div>
		</div>	
</body>
</html>
